export const mockSetting = [
    {
        name: '第一大类',
        sign: 'first',
        icon: '',
        children: [
            { name: '1.1', sign: 'test_1-1', sort: true, },
            { name: '1.2', sign: 'test_1-2', sort: true, },
            { name: '1.3', sign: 'test_1-3', sort: true, },
            { name: '1.4', sign: 'test_1-4', sort: true, },
            { name: '1.5', sign: 'test_1-5', sort: true, },
        ]
    },
    {
        name: '第二大类',
        sign: 'two',
        icon: '',
        children: [
            { name: '1.1', sign: 'test_1-1', sort: true, },
            { name: '1.2', sign: 'test_1-2', sort: true, },
            { name: '1.3', sign: 'test_1-3', sort: true, },
            { name: '1.4', sign: 'test_1-4', sort: true, },
            { name: '1.5', sign: 'test_1-5', sort: true, },
        ]
    },
    {
        name: '第三大类',
        sign: 'three',
        icon: '',
        children: [
            { name: '3.1', sign: 'test_3-1', sort: true, },
            { name: '3.2', sign: 'test_3-2', sort: true, },
            { name: '3.3', sign: 'test_3-3', sort: true, },
            { name: '3.4', sign: 'test_3-4', sort: true, },
            { name: '3.5', sign: 'test_3-5', sort: true, },
            { name: '3.6', sign: 'test_3-6', sort: true, },
            { name: '3.7', sign: 'test_3-7', sort: true, },
            { name: '3.8', sign: 'test_3-8', sort: true, },
            { name: '3.9', sign: 'test_3-9', sort: true, },
        ]
    },
    {
        name: '第四大类',
        sign: 'four',
        icon: '',
        children: [
            { name: '4.1', sign: 'test_4-1', sort: true, },
            { name: '4.2', sign: 'test_4-2', sort: true, },
            { name: '4.3', sign: 'test_4-3', sort: true, },
            { name: '4.4', sign: 'test_4-4', sort: true, },
            { name: '4.5', sign: 'test_4-5', sort: true, },
            { name: '4.6', sign: 'test_4-6', sort: true, },
            { name: '4.7', sign: 'test_4-7', sort: true, },
            { name: '4.8', sign: 'test_4-8', sort: true, },
            { name: '4.9', sign: 'test_4-9', sort: true, },
        ]
    },
    {
        name: '第五大类',
        sign: 'five',
        icon: '',
        children: [
            { name: '5.1', sign: 'test_5-1', sort: true, },
            { name: '5.2', sign: 'test_5-2', sort: true, },
            { name: '5.3', sign: 'test_5-3', sort: true, },
            { name: '5.4', sign: 'test_5-4', sort: true, },
            { name: '5.5', sign: 'test_5-5', sort: true, },
            { name: '5.6', sign: 'test_5-6', sort: true, },
            { name: '5.7', sign: 'test_5-7', sort: true, },
            { name: '5.8', sign: 'test_5-8', sort: true, },
            { name: '5.9', sign: 'test_5-9', sort: true, },
        ]
    },
    {
        name: '第六大类',
        sign: 'six',
        icon: '',
        children: [
            { name: '6.1', sign: 'test_6-1', sort: true, },
            { name: '6.2', sign: 'test_6-2', sort: true, },
            { name: '6.3', sign: 'test_6-3', sort: true, },
            { name: '6.4', sign: 'test_6-4', sort: true, },
            { name: '6.5', sign: 'test_6-5', sort: true, },
            { name: '6.6', sign: 'test_6-6', sort: true, },
            { name: '6.7', sign: 'test_6-7', sort: true, },
            { name: '6.8', sign: 'test_6-8', sort: true, },
            { name: '6.9', sign: 'test_6-9', sort: true, },
        ]
    },
    {
        name: '第七大类',
        sign: 'seven',
        icon: '',
        children: [
            { name: '7.1', sign: 'test_7-1', sort: true, },
            { name: '7.2', sign: 'test_7-2', sort: true, },
            { name: '7.3', sign: 'test_7-3', sort: true, },
            { name: '7.4', sign: 'test_7-4', sort: true, },
            { name: '7.5', sign: 'test_7-5', sort: true, },
            { name: '7.6', sign: 'test_7-6', sort: true, },
            { name: '7.7', sign: 'test_7-7', sort: true, },
            { name: '7.8', sign: 'test_7-8', sort: true, },
            { name: '7.9', sign: 'test_7-9', sort: true, },
        ]
    },
    {
        name: '第八大类',
        sign: 'eight',
        icon: '',
        children: [
            { name: '8.1', sign: 'test_8-1', sort: true, },
            { name: '8.2', sign: 'test_8-2', sort: true, },
            { name: '8.3', sign: 'test_8-3', sort: true, },
            { name: '8.4', sign: 'test_8-4', sort: true, },
            { name: '8.5', sign: 'test_8-5', sort: true, },
            { name: '8.6', sign: 'test_8-6', sort: true, },
            { name: '8.7', sign: 'test_8-7', sort: true, },
            { name: '8.8', sign: 'test_8-8', sort: true, },
            { name: '8.9', sign: 'test_8-9', sort: true, },
        ]
    },
    {
        name: '第九大类',
        sign: 'nine',
        icon: '',
        children: [
            { name: '9.1', sign: 'test_9-1', sort: true, },
            { name: '9.2', sign: 'test_9-2', sort: true, },
            { name: '9.3', sign: 'test_9-3', sort: true, },
            { name: '9.4', sign: 'test_9-4', sort: true, },
            { name: '9.5', sign: 'test_9-5', sort: true, },
            { name: '9.6', sign: 'test_9-6', sort: true, },
            { name: '9.7', sign: 'test_9-7', sort: true, },
            { name: '9.8', sign: 'test_9-8', sort: true, },
            { name: '9.9', sign: 'test_9-9', sort: true, },
        ]
    }
]



export const mockStringSetting = [
    { 
        name: '第一大类',
        sign: 'first',
        icon: '',
        children: [
            { name: '1.1', sign: 'test_1-1', sort: false },
            { name: '1.2', sign: 'test_1-2', sort: false },
            { name: '1.3', sign: 'test_1-3', sort: false },
            { name: '1.4', sign: 'test_1-4', sort: false },
            { name: '1.5', sign: 'test_1-5', sort: false },
        ]
    },
    {
        name: '第二大类',
        sign: 'two',
        icon: '',
        children: [
            { name: '1.1', sign: 'test_1-1', sort: false },
            { name: '1.2', sign: 'test_1-2', sort: false },
            { name: '1.3', sign: 'test_1-3', sort: false },
            { name: '1.4', sign: 'test_1-4', sort: false },
            { name: '1.5', sign: 'test_1-5', sort: false },
        ]
    },
    {
        name: '第三大类',
        sign: 'three',
        icon: '',
        children: [
            { name: '3.1', sign: 'test_3-1', sort: false },
            { name: '3.2', sign: 'test_3-2', sort: false },
            { name: '3.3', sign: 'test_3-3', sort: false },
            { name: '3.4', sign: 'test_3-4', sort: false },
            { name: '3.5', sign: 'test_3-5', sort: false },
            { name: '3.6', sign: 'test_3-6', sort: false },
            { name: '3.7', sign: 'test_3-7', sort: false },
            { name: '3.8', sign: 'test_3-8', sort: false },
            { name: '3.9', sign: 'test_3-9', sort: false },
        ]
    },
    {
        name: '第四大类',
        sign: 'four',
        icon: '',
        children: [
            { name: '4.1', sign: 'test_4-1', sort: false },
            { name: '4.2', sign: 'test_4-2', sort: false },
            { name: '4.3', sign: 'test_4-3', sort: false },
            { name: '4.4', sign: 'test_4-4', sort: false },
            { name: '4.5', sign: 'test_4-5', sort: false },
            { name: '4.6', sign: 'test_4-6', sort: false },
            { name: '4.7', sign: 'test_4-7', sort: false },
            { name: '4.8', sign: 'test_4-8', sort: false },
            { name: '4.9', sign: 'test_4-9', sort: false },
        ]
    },
    {
        name: '第五大类',
        sign: 'five',
        icon: '',
        children: [
            { name: '5.1', sign: 'test_5-1', sort: false },
            { name: '5.2', sign: 'test_5-2', sort: false },
            { name: '5.3', sign: 'test_5-3', sort: false },
            { name: '5.4', sign: 'test_5-4', sort: false },
            { name: '5.5', sign: 'test_5-5', sort: false },
            { name: '5.6', sign: 'test_5-6', sort: false },
            { name: '5.7', sign: 'test_5-7', sort: false },
            { name: '5.8', sign: 'test_5-8', sort: false },
            { name: '5.9', sign: 'test_5-9', sort: false },
        ]
    },
    {
        name: '第六大类',
        sign: 'six',
        icon: '',
        children: [
            { name: '6.1', sign: 'test_6-1', sort: false },
            { name: '6.2', sign: 'test_6-2', sort: false },
            { name: '6.3', sign: 'test_6-3', sort: false },
            { name: '6.4', sign: 'test_6-4', sort: false },
            { name: '6.5', sign: 'test_6-5', sort: false },
            { name: '6.6', sign: 'test_6-6', sort: false },
            { name: '6.7', sign: 'test_6-7', sort: false },
            { name: '6.8', sign: 'test_6-8', sort: false },
            { name: '6.9', sign: 'test_6-9', sort: false },
        ]
    },
    {
        name: '第七大类',
        sign: 'seven',
        icon: '',
        children: [
            { name: '7.1', sign: 'test_7-1', sort: false },
            { name: '7.2', sign: 'test_7-2', sort: false },
            { name: '7.3', sign: 'test_7-3', sort: false },
            { name: '7.4', sign: 'test_7-4', sort: false },
            { name: '7.5', sign: 'test_7-5', sort: false },
            { name: '7.6', sign: 'test_7-6', sort: false },
            { name: '7.7', sign: 'test_7-7', sort: false },
            { name: '7.8', sign: 'test_7-8', sort: false },
            { name: '7.9', sign: 'test_7-9', sort: false },
        ]
    },
    {
        name: '第八大类',
        sign: 'eight',
        icon: '',
        children: [
            { name: '8.1', sign: 'test_8-1', sort: false },
            { name: '8.2', sign: 'test_8-2', sort: false },
            { name: '8.3', sign: 'test_8-3', sort: false },
            { name: '8.4', sign: 'test_8-4', sort: false },
            { name: '8.5', sign: 'test_8-5', sort: false },
            { name: '8.6', sign: 'test_8-6', sort: false },
            { name: '8.7', sign: 'test_8-7', sort: false },
            { name: '8.8', sign: 'test_8-8', sort: false },
            { name: '8.9', sign: 'test_8-9', sort: false },
        ]
    },
    {
        name: '第九大类',
        sign: 'nine',
        icon: '',
        children: [
            { name: '9.1', sign: 'test_9-1', sort: false },
            { name: '9.2', sign: 'test_9-2', sort: false },
            { name: '9.3', sign: 'test_9-3', sort: false },
            { name: '9.4', sign: 'test_9-4', sort: false },
            { name: '9.5', sign: 'test_9-5', sort: false },
            { name: '9.6', sign: 'test_9-6', sort: false },
            { name: '9.7', sign: 'test_9-7', sort: false },
            { name: '9.8', sign: 'test_9-8', sort: false },
            { name: '9.9', sign: 'test_9-9', sort: false },
        ]
    }
]


export const defaultRandomResult = () => {
    const resultObj = {}
    for(let i = 0; i < 9;  i ++) {
        for(let j = 0; j < 9; j ++) {
            const key = `test_${i + 1}-${j + 1}`
            const value = Math.floor(Math.random() * 100) 
            resultObj[key] = value
        }
    }

    return resultObj
}


export const defaultStringResult = () => {
    const resultObj = {}
    const chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678'
    const stringLength = chars.length
     
    for(let i = 0; i < 9;  i ++) {
        for(let j = 0; j < 9; j ++) {
            const key = `test_${i + 1}-${j + 1}`
            const value = chars.charAt(Math.floor(Math.random() * stringLength))
            resultObj[key] = value
        }
    }

    return resultObj
}